package com.ziyun.erp.common.e.purchase;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * @author guzhao
 * @date 2018-09-21 16:55
 * 采购供应商 状态
 */
public enum MaterialSupplierStatusEnum implements BaseEnum {
    WAIT_AUDIT(0,"待审核"),
    ALREADY_AUDIT(1,"已通过"),
    REJECT(2,"驳回");

    private int id;
    private String describe;

    MaterialSupplierStatusEnum(int id, String describe) {
        this.id = id;
        this.describe = describe;
    }
    @Override
    public int toInt() {
        return id;
    }

    @Override
    public String toCode() {
        return null;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
